# Get collections
curl -s "http://localhost:8983/solr/admin/collections?action=LIST&wt=json" | jq '.collections'

curl -s "http://localhost:8983/solr/admin/collections?action=CLUSTERSTATUS&wt=json" | jq ".cluster.collections" | jq '.[] .configName'

# Get live nodes of SOLR cluster
curl -s "http://localhost:8983/solr/admin/collections?action=CLUSTERSTATUS&wt=json" | jq '.cluster.live_nodes'

# Get Alias
curl -s "http://localhost:8983/solr/admin/collections?action=CLUSTERSTATUS&wt=json" | jq '.cluster.aliases'

# Parsing solr status command 
sudo service solr6 status | egrep -v "Found|process" | jq '.cloud.liveNodes'

# Parsing solr healthcheck command
sudo service solr6 healthcheck | jq '.numDocs'